CommonEvent 255
Name = "Race Change: Human→Angel"

  999([0])
  ConditionalBranch([0, 3454, 1])
    ControlVariables([11, 11, 0, 3, 0, 77, 0])
    ControlVariables([12, 12, 0, 3, 0, 824, 0])
    ShowTextAttributes(["stein_fc2", 1, 0, 2])
    ShowText(["\\n<Promestein>If you wish to become an angel, I'll need to make some Angel Liquid. I'll require 2 bright white holy stones and 1 revelation feather."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\ii[77] (Have:\\V[11])"])
    ShowText(["\\ii[824] (Have:\\V[12])"])
    ShowText(["Consume these items and transform a human into an angel?"])
    ShowChoices([["Yes", "No"], 2])
    When([0, "はい"])
      ConditionalBranch([1, 11, 0, 2, 1])
        ConditionalBranch([1, 12, 0, 1, 1])
          ShowTextAttributes(["stein_fc2", 1, 0, 2])
          ShowText(["\\n<Promestein>Excellent, now who will I be administering the Angel Liquid to? They must have 10 levels in the human race for me to administer it."])
          ShowText([""])
          ShowText([""])
          Script(["names = party_members.collect{|m|m.name}"])
          ScriptMore(["unlimited_choices(11, names)"])
          ScriptMore(["if $game_variables[11] != names.size"])
          ScriptMore(["actor = party_members[$game_variables[11]]"])
          ScriptMore(["$game_variables[12] = actor.id"])
          ScriptMore(["else"])
          ScriptMore(["$game_variables[12] = 0"])
          ScriptMore(["end"])
          ConditionalBranch([1, 12, 0, 0, 0])
            CallCommonEvent([231])
            ExitEventProcessing([])
            Empty([])

          BranchEnd([])
          ConditionalBranch([12, "actor_class_level_over?(v(12), 151, 10)"])
            ConditionalBranch([12, "actor_class_level_over?(v(12), 362, 1)"])
              ShowTextAttributes(["stein_fc2", 2, 0, 2])
              ShowText(["\\n<Promestein>It seems you already possess angel DNA.\nSorry, but I can't give you the shot..."])
              ShowText([""])
              ShowText([""])
              CallCommonEvent([231])
              ExitEventProcessing([])
              Empty([])

            Else([])
              ShowTextAttributes(["stein_fc2", 1, 0, 2])
              ShowText(["\\n<Promestein>All right, let's do this! Hold out your arm for me, please...!"])
              ShowText([""])
              ChangeItems([77, 1, 0, 2])
              ChangeItems([824, 1, 0, 1])
              Script(["set_class_level(v(12), 362, 1, true, true)"])
              PlaySE(["RPG::SE(@name=\"mon_fanfale\", @pitch=100, @volume=100)"])
              ShowTextAttributes(["", 0, 0, 2])
              ShowText(["Changed race into angel!"])
              ShowTextAttributes(["stein_fc2", 1, 0, 2])
              ShowText(["\\n<Promestein>Fufufu, another great success!"])
              ShowText([""])
              CallCommonEvent([231])
              ExitEventProcessing([])
              Empty([])

            BranchEnd([])
            Empty([])

          Else([])
            ShowTextAttributes(["stein_fc2", 2, 0, 2])
            ShowText(["\\n<Promestein>Hmmm? It seems you haven't reached level 10 in the human race. You'd probably die, so I'm afraid I can't give you this shot..."])
            ShowText([""])
            ShowText([""])
            CallCommonEvent([231])
            ExitEventProcessing([])
            Empty([])

          BranchEnd([])
          Empty([])

        BranchEnd([])
        Empty([])

      BranchEnd([])
      ShowTextAttributes(["stein_fc2", 2, 0, 2])
      ShowText(["\\n<Promestein>Oh... it seems you're lacking the required ingredients. My apologies, but I can't create the extract without them."])
      ShowText([""])
      ShowText([""])
      CallCommonEvent([231])
      ExitEventProcessing([])
      Empty([])

    When([1, "いいえ"])
      CallCommonEvent([231])
      ExitEventProcessing([])
      Empty([])

    ChoicesEnd([])
    Empty([])

  BranchEnd([])
  ConditionalBranch([0, 3454, 0])
    ControlVariables([11, 11, 0, 3, 0, 77, 0])
    ControlVariables([12, 12, 0, 3, 0, 824, 0])
    ShowTextAttributes(["stein_fc2", 1, 0, 2])
    ShowText(["\\n<Promestein>If you wish to become a human, I'll need to make some Angel Liquid R. I'll require 2 bright white holy stones and 1 revelation feather."])
    ShowText([""])
    ShowText([""])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\ii[77] (Have:\\V[11])"])
    ShowText(["\\ii[824] (Have:\\V[12])"])
    ShowText(["Consume these items and transform an angel into a human?"])
    ShowChoices([["Yes", "No"], 2])
    When([0, "はい"])
      ConditionalBranch([1, 11, 0, 2, 1])
        ConditionalBranch([1, 12, 0, 1, 1])
          ShowTextAttributes(["stein_fc2", 1, 0, 2])
          ShowText(["\\n<Promestein>Excellent, now who will I be administering the Angel Liquid R to? They must have 10 levels in the angel race for me to administer it."])
          ShowText([""])
          ShowText([""])
          Script(["names = party_members.collect{|m|m.name}"])
          ScriptMore(["unlimited_choices(11, names)"])
          ScriptMore(["if $game_variables[11] != names.size"])
          ScriptMore(["actor = party_members[$game_variables[11]]"])
          ScriptMore(["$game_variables[12] = actor.id"])
          ScriptMore(["else"])
          ScriptMore(["$game_variables[12] = 0"])
          ScriptMore(["end"])
          ConditionalBranch([1, 12, 0, 0, 0])
            CallCommonEvent([231])
            ExitEventProcessing([])
            Empty([])

          BranchEnd([])
          ConditionalBranch([12, "actor_class_level_over?(v(12), 362, 10)"])
            ConditionalBranch([12, "actor_class_level_over?(v(12), 151, 1)"])
              ShowTextAttributes(["stein_fc2", 2, 0, 2])
              ShowText(["\\n<Promestein>It seems you already possess human DNA.\nSorry, but I can't give you the shot..."])
              ShowText([""])
              ShowText([""])
              CallCommonEvent([231])
              ExitEventProcessing([])
              Empty([])

            Else([])
              ShowTextAttributes(["stein_fc2", 1, 0, 2])
              ShowText(["\\n<Promestein>All right, let's do this! Hold out your arm for me, please...!"])
              ShowText([""])
              ChangeItems([77, 1, 0, 2])
              ChangeItems([824, 1, 0, 1])
              Script(["set_class_level(v(12), 151, 1, true, true)"])
              PlaySE(["RPG::SE(@name=\"mon_fanfale\", @pitch=100, @volume=100)"])
              ShowTextAttributes(["", 0, 0, 2])
              ShowText(["Changed race into human!"])
              ShowTextAttributes(["stein_fc2", 1, 0, 2])
              ShowText(["\\n<Promestein>Fufufu, another great success!"])
              ShowText([""])
              CallCommonEvent([231])
              ExitEventProcessing([])
              Empty([])

            BranchEnd([])
            Empty([])

          Else([])
            ShowTextAttributes(["stein_fc2", 2, 0, 2])
            ShowText(["\\n<Promestein>Hmmm? It seems you haven't reached level 10 in the angel race. You'd probably die, so I'm afraid I can't give you this shot..."])
            ShowText([""])
            ShowText([""])
            CallCommonEvent([231])
            ExitEventProcessing([])
            Empty([])

          BranchEnd([])
          Empty([])

        BranchEnd([])
        Empty([])

      BranchEnd([])
      ShowTextAttributes(["stein_fc2", 2, 0, 2])
      ShowText(["\\n<Promestein>Oh... it seems you're lacking the required ingredients. My apologies, but I can't create the extract without them."])
      ShowText([""])
      ShowText([""])
      CallCommonEvent([231])
      ExitEventProcessing([])
      Empty([])

    When([1, "いいえ"])
      CallCommonEvent([231])
      ExitEventProcessing([])
      Empty([])

    ChoicesEnd([])
    Empty([])

  BranchEnd([])
  Empty([])
